from twisted.internet.protocol import Factory
from twisted.application import internet, service
from MudServer import MudServer

port = 4000
factory = Factory()
factory.protocol = MudServer

application = service.Application("pythonmud")
mudserver = internet.TCPServer(port, factory)
mudserver.setServiceParent(application)
